//
//  BDMyCouponsModel.h
//  iOS_beboy
//
//  Created by wen on 2017/9/21.
//  Copyright © 2017年 com.8xiong. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <MJExtension/MJExtension.h>

typedef NS_ENUM(NSUInteger, BDMyCouponsStatus) {
    BDMyCouponsStatusNotUse,      //未使用
    BDMyCouponsStatusUsed,        //使用了等待评价
    BDMyCouponsStatusOverdue,     //过期
    BDMyCouponsStatusRefunding,   //退款中
    BDMyCouponsStatusRefunded,    //已经退款，也是过期的一部分
    BDMyCouponsStatusCommented    //评价完成
};

@interface BDMyCouponsModel : NSObject

@property (nonatomic) NSInteger my_id;
@property (nonatomic) NSInteger user_id;
@property (nonatomic) NSInteger shop_id;
@property (nonatomic) NSInteger coupon_id;
@property (nonatomic) NSInteger code;
@property (nonatomic, strong) NSString *title;
@property (nonatomic, strong) NSString *content;
@property (nonatomic, strong) NSString *cover;
@property (nonatomic) NSInteger rec_num;
@property (nonatomic, strong) NSString *price;
@property (nonatomic, strong) NSString *amount;
@property (nonatomic) NSInteger start_at;
@property (nonatomic) NSInteger end_at;
@property (nonatomic) BDMyCouponsStatus status;
@property (nonatomic, strong) NSString *shopTitle;

@end
